using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class CmsCompanyEntity:AF_ORM.CORE.BaseEntity
    {
         public CmsCompanyEntity()
         {
             tableName = "CmsCompany";


			 fieldInfos.Add(new FieldInfo("CmsCompany","ContentBody","ContentBody","string",1024,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCompany","Id","Id","Guid",0,true,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("CmsCompany","Lang","Lang","string",5,false,true,false,false,"","",""));
         }
       //properties
                    
		 protected string m_ContentBody;
		 protected Guid m_Id;
		 protected string m_Lang;

		 public string ContentBody

          { 
                get { 
                    return m_ContentBody;}

                set{m_ContentBody=value;

                    GetField("ContentBody").Set();
                    GetField("ContentBody").IsNull=(value == null);           
                    }
          }
		 public Guid Id

          { 
                get { 
                    return m_Id;}

                set{m_Id=value;

                    GetField("Id").Set();
                    GetField("Id").IsNull=(value == null);           
                    }
          }
		 public string Lang

          { 
                get { 
                    return m_Lang;}

                set{m_Lang=value;

                    GetField("Lang").Set();
                    GetField("Lang").IsNull=(value == null);           
                    }
          }

}
}
